package com.rzj.book.service.impl;

import com.rzj.book.dao.IMenuDao;
import com.rzj.book.en.Menu;
import com.rzj.book.service.IMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @ClassName MenuServiceImpl
 * @Description TODO
 * @Author Administrator
 * @Date 2020/5/18 23:21
 * @Version 1.0
 */
@Service
@Transactional
public class MenuServiceImpl implements IMenuService {

    @Autowired
    private IMenuDao menuDao;

    @Override
    public List<Menu> findMenuListByEmpId(Integer empId) {
        return menuDao.findMenuListByEmpId(empId);
    }
}
